package com.yang.web.featuretest.util;

import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;

/**
 * @Description:
 * @Author: yangzhiwei
 * @Date: 2021/9/1 14:34
 */
public class StoreUtil {
    public static Map<String, String> tokenMapUser = new HashMap<>();

    public static Set<String> storeToken = new HashSet();




    public synchronized static String getToken() {
        String UUID = "111111";
        // UUID -> userID -> userInfo
        tokenMapUser.put(UUID,"yang_id");
        storeToken.add(UUID);

        return UUID;
    }

}
